home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / fstat.zip / FSTAT.MAN < prev    next >
Text File  |  1989-12-12  |  2KB  |  35 lines

  1. NAME
  2.      fstat - display complete list of currently open files
  3.  
  4. SYNOPSIS
  5.      fstat
  6.  
  7. DESCRIPTION
  8.      fstat.com is a program to display all of the currently open files
  9.      and devices known to the system.  It also shows length, current
  10.      offset, number of handles referring to this file, drive or device
  11.      type, and program which opened the file.  The standard devices
  12.      CON, AUX, PRN, etc. are also listed since they use file handles.
  13.      The program might be useful for diagnosing "too many files open"
  14.      type messages, since it will show what files are in use by TSRs
  15.      in addition to those opened by a foreground program.  It works by
  16.      using DOS service 52H, the "list of lists" interrupt, which
  17.      returns pointers to most of the internal DOS kernel tables,
  18.      including the file tables.  It should work for all DOS versions
  19.      2+, although only 3+ can find out the name of the program which
  20.      opened any given file.  There is some version specific code for
  21.      4.x and it is possible that this may not work on all systems
  22.      since the contents of the system tables are not fully documented.
  23.  
  24. SEE ALSO
  25.  
  26. BUGS
  27.      This seems to work, but it would be nice if this information were made
  28.      "official" instead of needing to rely on the usenet "interrupt list"
  29.      for the necessary information
  30.      It is usually not possible to retrieve the name of a shell (such as
  31.      command.com) so it is listed as "-shell-".
  32.  
  33. AUTHOR
  34.      Richard Brittain (richard@calvin.spp.cornell.edu)
  35.